//路由模块
import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

import Login from '@/views/login.vue'

const router = new VueRouter({
  routes:[
    {
      name:'login',
      path:'/login',
      component:Login
    }
  ]
});

// 暴露路由
export default router;